<go-back></go-back>
<div class="page-container">
  <div class="container pt72">
    <section class="box" style="position: relative;">
      <header class="panel_header">
        <h2 class="title pull-left">
         <p class="nick-p left-align pr5">
           <span class="taobao-icon" [ngClass]="{'icon-service-tianmao':liveShopInfo.shopType=='商城','icon-service-taobao':liveShopInfo.shopType=='C店'||liveShopInfo.shopType==null,'icon-service-tianmaoguoji':liveShopInfo.shopType =='天猫国际','icon-fest-quanqiugou':liveShopInfo.shopType =='全球购'}"></span>
           <a href="http://store.taobao.com/shop/view_shop.htm?user_number_id={{liveShopInfo.uid}}" target="_blank" [innerHTML]="liveShopInfo.shopName"></a>
         </p>
       </h2>
      </header>
      <ngx-busy [busy]="busy"></ngx-busy>
      <div class="content-body">
        <table class="responsive-table highlight bordered darenShop">
          <thead>
            <tr>
              <th>周销售额</th>
              <th>周销售量</th>
              <th>月销售额</th>
              <th>月销售量</th>
              <th>周直播宝贝数</th>
              <th>月直播宝贝数</th>
              <th>周点赞数</th>
              <th>月点赞数</th>
              <th>周人气值</th>
              <th>月人气值</th>
              <th>时间</th>
            </tr>
          </thead>
          <tbody>
            <tr class="repeat-item" *ngFor="let shop of vm.table.shops;let $index = index;">
              <td>{{shop.sellMoney7Days | bigNum}}</td>
              <td>{{shop.sellAmount7Days | bigNum}}</td>
              <td>{{shop.sellMoney30Days | bigNum}}</td>
              <td>{{shop.sellAmount30Days| bigNum}}</td>
              <td>{{shop.productNum7Days | bigNum}}</td>
              <td>{{shop.productNum30Days | bigNum}}</td>
              <td>{{shop.praiseCount7Days | bigNum}}</td>
              <td>{{shop.praiseCount30Days | bigNum}}</td>
              <td>{{shop.viewCount7Days | bigNum}}</td>
              <td>{{shop.viewCount30Days | bigNum}}</td>
              <td>
                {{shop.date | dateFormat}}
              </td>
            </tr>
            <tr *ngIf="vm.table.shops.length==0">
              <td colspan=11>暂无数据</td>
            </tr>
          </tbody>
        </table>
      </div>
    </section>
  </div>
</div>
